/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.SeasonFacade;
import org.ipti.br.tag.entity.Season;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class SeasonBO implements Serializable {

    @Inject
    private SeasonFacade SeasonDAO;

    public SeasonFacade getSeasonDAO() {
        return SeasonDAO;
    }

    public void create(Season Season) {
        getSeasonDAO().create(Season);
    }

    public void edit(Season Season) {
        getSeasonDAO().edit(Season);
    }

    public void remove(Season Season) {
        getSeasonDAO().remove(Season);
    }

    public Season find(Object id) {
        return getSeasonDAO().find(id);
    }

    public List<Season> findAll() {
        return getSeasonDAO().findAll();
    }

    public void editForSynchronization(Season season) {
        getSeasonDAO().editForSynchronization(season);
    }

    public List<Season> findAllOrder() {
        return getSeasonDAO().findAllOrder();
    }
}
